package com.ruoyi.service.score.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.service.score.entity.CompanyScoreDetailEntity;
import javax.validation.constraints.NotBlank;

/**
 * <p>
 * 公司评分明细表 服务类
 * </p>
 *
 * @author Zane
 * @since 2025-10-14
 */
public interface CompanyScoreDetailService extends IService<CompanyScoreDetailEntity> {

  Integer getAvgScore(Long scoreId);

  long countByUserAndProjectId(Long userId, @NotBlank(message = "项目Id不能为空") String projectId);
}
